import json

def read_file(file_path: str):
    with open(file_path, 'r', encoding="utf-8") as f:
        if ".json" in file_path:
            return json.load(f)
        else:
            return f.read()

def parser_logs():
    pass